Correct problems with earlier fix for bug #480065
authorKristian Rietveld <kris@gtk.org>
Mon, 21 Dec 2009 21:33:59 +0000 (22:33 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:53:38 +0000 (20:53 -0400)
commita763546c8f155aa08cf79575e4069f058a7c6bce
tree8c8c1bd35ac6cb5709839a77319a2fcc8d4175e6
parent0cbf76ed476bd75cfac3419d620184024677418c
Correct problems with earlier fix for bug #480065

Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify.  Fix up calls to
update_prelight() from size allocate.  Unconditionally doing these calls
caused problems with hover selection.  Now we only do this call when
the "width before the expander column" has changed.  (Which might be
awkward, but it is the best heuristic I could come up with so far).
gtk/gtktreeprivate.h
gtk/gtktreeview.c